import { request } from "@/utils/network";

/** 岗位列表 POST /business/staff_manager/position */
export const fetchPosition = (params: { name: string }) =>
  request<{
    id: number;
    name: string;
    staff_count: number;
    create_time: string;
  }>("/business/staff_manager/position", params).then((res) => res);
